import request from "@/utils/request";

export function savedisease(data) {
  return request({
    url: "sinohis/pension/checkin/infectiousdisease/addInfectiousDiseaseRegistration",
    method: "post",
    data
  });
}

export function search(params) {
  return request({
    url: "sinohis/pension/checkin/infectiousdisease/searchInfectiousDiseaseRegistration",
    method: "get",
    params

  });

}
export function searchelderlycondition (params) {
  return request({
    url: "/sinohis/pension/checkin/checkinmanager/searchCheckInInfoByElderly/"+params.elderlycondition ,
    method: "get",
    params

  });

}
//打印传染病登记列表
export function infectiousdisease(params) {
  return request({
    url: "sinohis/pension/checkin/infectiousdisease/print",
    method: "get",
    params
  });
}
